package com.example.asteroides;

import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.TelephonyManager;
import android.telephony.SmsManager;
import android.util.Log;
import android.widget.Toast;

public class ReceptorSMS extends BroadcastReceiver {

    @Override

    public void onReceive(Context context, Intent intent) {

    		//Toast.makeText(context, "txt", Toast.LENGTH_SHORT);
          
          	Intent i = new Intent(context, Asteroides.class);
          	i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
			context.startActivity(i);
          

    }

}
